this moved to /ui/forms/selectOrganization.cfm

<!--- <cfparam name="listMode" default="">

<cfscript>
	organizationGateway = new assets.calgrants.com.gateway.OrganizationGateway();
	organizations = organizationGateway.query(regionIDs = IIf(IsUserInRole("Regional Admin"), request.authUser.regionID, ""), Organization_ID = IIf(IsUserInRole("Organizer") OR IsUserInRole("Site Contact"), request.authUser.organizationID, ""));
</cfscript>

<cfif organizations.RecordCount gt 0>

	<cfform name="organizationListForm" id="orgamizationListForm" action="#script_name#" method="post">
		<cfif IsDefined("passback")>
			<cfloop index="keyValue" list="#passback#" delimiters=";">
				<cfinput type="hidden" name="#ListFirst(keyValue)#" value="#ListLast(keyValue)#" />
			</cfloop>
		</cfif>
	
		<table class="table table-striped table-bordered">
			<thead>
				<tr>
					<cfif listMode eq "checkbox" OR listMode eq "radio">
						<th></th>
					</cfif>
					<th>ID</th>
					<th>Organization</th>
					<cfif IsUserInRole("Super User")>
						<th>Region</th>
					</cfif>
					<th>City</th>
					<th>County</th>
					<th>PA</th>
					<th>OAP</th>
					<th>Users</th>
					<th>Workshops</th>
					<th>Orders</th>
					<th>Status</th>
				</tr>
			</thead>
			<tbody>
				<cfoutput query="organizations">
					<tr>
						<cfif listMode eq "checkbox">
							<td><cfinput type="checkbox" name="Organization_IDs" value="#Organization_ID#"></td>
							<td>#Organization_ID#</td>
						<cfelseif listMode eq "radio">
							<td><cfinput type="radio" name="Organization_ID" value="#Organization_ID#"></td>
							<td>#Organization_ID#</td>
						<cfelseif listMode eq "link">
							<td><a href="#script_name#?view=editOrganization&organizationID=#Organization_ID#">#Organization_ID#</a></td>
						<cfelse>
							<td>#Organization_ID#</td>
						</cfif>
						<td>#Organization#</td>
						<cfif IsUserInRole("Super User")>
							<td>#Region_ID#</td>
						</cfif>
						<td>#City#</td>
						<td>#County#</td>
						<td><cfif pa gt 0>Yes<cfelse><font color="red">No</font></cfif></td>
						<td><cfif oap gt 0>Yes<cfelse><font color="red">No</font></cfif></td>
						<td>#User_Count#</td>
						<td>#Workshop_Count#</td>
						<td>#Order_Count#</td>
						<td>
							<cfif Deleted>
								<font color="red">Deleted</font>
							<cfelseif Archived>
								<font color="silver">Archived</font>
							<cfelseif NOT Approved>
								<font color="orange">Not Approved</font>
							<cfelseif Approved>
								Approved
							</cfif>
						</td>
					</tr>
				</cfoutput>
			</tbody>
		</table>

	</cfform>
			
<cfelse>
	<div class="alert alert-info notFound">No organizations</div>
</cfif> --->